package com.dreammakerteam.frameworkdemo.qzhj.service;

import com.dreammakerteam.frameworkdemo.base.service.DBaseService;
import com.dreammakerteam.frameworkdemo.base.service.DMapper;
import com.dreammakerteam.frameworkdemo.qzhj.domain.DQzhjProductHistoryDo;
import com.dreammakerteam.frameworkdemo.qzhj.mapper.DQzhjProductHistoryMapper;

/**
 * 清真泛化产品追踪 服务
 * @author xy
 * @version 0.1
 */
public interface DQzhjProductHistoryService extends DBaseService, DMapper<DQzhjProductHistoryMapper> {

    /**
     * 获取指定产品的追踪信息
     * @param prodId 产品id
     * @return 指定产品所有的追踪信息
     */
    DQzhjProductHistoryDo[] get(Long prodId);

    /**
     * 保存产品追踪信息
     * @param dQzhjProductHistoryDo 产品追踪信息
     */
    void add(DQzhjProductHistoryDo dQzhjProductHistoryDo);

}
